<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String loginId = request.getParameter("loginId");
	if(loginId == null) loginId = "";
%>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>IHIS created by Honey Bread(Team 4) in SEP521</title>
    <link rel="stylesheet" href="script/jquery.mobile-1.0a4.1.min.css"/>
    <link rel="stylesheet" href="script/ihis.css"/>
    <script src="script/jquery-1.6.min.js"></script>
    <script src="script/ihis.login.js"></script>
    <script src="script/jquery.mobile-1.0a4.1.min.js"></script>
</head>

<body>
	<div id="loginPage" data-role="page" data-theme="a">
    
		<div data-role="header">
			<h1>IHIS</h1>
		</div>
		
		<div data-role="content">
			<form action="#" method="post" name="login_form">
				<div data-role="fieldcontain" data-type="horizontal">
					<label for="loginId">ID :</label>
					<input type="text" name="loginId" id="loginId" value="<%= "".equals(loginId) ? "minho" : loginId %>" />
					<label id="errorMessage"></label>
				</div>
				<div data-role="fieldcontain" data-type="horizontal">
					<label for="password">Password : </label>
					<input type="password" name="password" id="password" value=""/>
					<label id="errorPasswordMessage"></label>
				</div>
			</form>
			<a href="#" data-icon="check" data-role="button" data-inline="true" id="loginButton">OK</a>
		</div>
	</div>
	
</body>
</html>